Package-level declarations

Types

Link copied to clipboard
data class StylishAnimationTokens(val durationShort: Int = 180, val durationMedium: Int = 300, val durationLong: Int = 500, val durationEmphasized: Int = 350, val defaultEasing: Easing = FastOutSlowInEasing, val emphasizedEasing: Easing = CubicBezierEasing(0.2f, 0f, 0f, 1f), val gentleEasing: Easing = LinearOutSlowInEasing)

Motion tokens for the Stylish UI design system.

Link copied to clipboard
data class StylishDimensions(val connectedSpacing: Dp = 3.dp, val outlineWidth: Dp = 0.4.dp, val interactiveElevation: Dp = 1.dp, val focusedElevation: Dp = 1.dp, val hoveredElevation: Dp = 2.dp, val pressedElevation: Dp = 0.dp, val disabledElevation: Dp = 0.dp, val floatingElevation: Dp = 2.dp, val connectedCornerRadius: Dp = 12.dp, val joinedCornerRadius: Dp = 2.dp, val floatingCornerRadius: Dp = 28.dp, val spacingNone: Dp = 0.dp, val spacingXxs: Dp = 2.dp, val spacingXs: Dp = 4.dp, val spacingSm: Dp = 8.dp, val spacingMd: Dp = 12.dp, val spacingLg: Dp = 16.dp, val spacingXl: Dp = 20.dp, val spacingXxl: Dp = 24.dp, val spacingXxxl: Dp = 32.dp, val inlineSpacing: Dp = 4.dp, val itemSpacing: Dp = 8.dp, val contentSpacing: Dp = 16.dp, val sectionSpacing: Dp = 32.dp, val buttonMinHeight: Dp = 52.dp, val cardMinHeight: Dp = 77.dp, val iconButtonMinSize: Dp = 48.dp, val roundedIconButtonMinWidth: Dp = 80.dp, val fabSize: Dp = 56.dp, val fabSmallSize: Dp = 40.dp, val fabLargeSize: Dp = 96.dp, val screenPadding: Dp = 20.dp, val contentPadding: Dp = 16.dp, val controlPadding: Dp = 16.dp, val controlVerticalPadding: Dp = 12.dp, val pieChartSize: Dp = 160.dp, val barChartHeight: Dp = 180.dp, val lineChartHeight: Dp = 200.dp)

Spatial, outline, and elevation design tokens for the Stylish UI design system.

Link copied to clipboard
data class StylishShapes(val small: CornerBasedShape = RoundedCornerShape(6.dp), val medium: CornerBasedShape = RoundedCornerShape(12.dp), val large: CornerBasedShape = RoundedCornerShape(20.dp), val extraLarge: CornerBasedShape = RoundedCornerShape(28.dp))

Corner-radius shape tokens for the Stylish UI design system.

Properties

Link copied to clipboard

The default StylishAnimationTokens instance with all tokens at their standard values.

Link copied to clipboard

The default StylishDimensions instance with all tokens at their standard values.

Link copied to clipboard

The default StylishShapes instance with all tokens at their standard values.